﻿using System.ComponentModel.DataAnnotations;

namespace Lanbt.Core.Entity.Dto.quartz
{
    public class QuartzDtoInput
    {
        /// <summary>
        /// 任务名/触发器名称
        /// </summary>
        [Required(ErrorMessage = "任务名不能为空")]
        public string Name { get; set; }

        /// <summary>
        /// 任务组/触发器组
        /// </summary>
        [Required(ErrorMessage = "任务组不能为空")]
        public string Group { get; set; }
    }
}
